package j05changyonglei;

import java.util.UUID;

public class J1 {
    public static void main(String[] args) {
        System.out.println(Math.abs(-2));
        System.out.println(Math.abs(2));
        System.out.println(Math.ceil(3.6));//4
        System.out.println(Math.floor(3.6));//3
        System.out.println(Math.pow(2,3));//8
        System.out.println(Math.round(2.5));//3
        System.out.println(Math.round(2.4));//2
        System.out.println("===");
        for (int i = 0; i < 10; i++) {
            //[0,1)  [0,100)
            System.out.println(Math.random()*100);
        }





    }
}

class J2{
    public static void main(String[] args) {

        for (int i = 0; i < 10; i++) {
            String s1 = UUID.randomUUID().toString();
            System.out.println("s1 = " + s1);
        }

    }
}
